package com.sita.linboard.person;

import java.util.List;

/**
 * Created by Jason on 2016/9/19.
 */
public class DriverTripBackBean {


    /**
     * errorCode : 0
     * data : [{"state":3,"trip_id":"461990179083652996","customer":{"accountId":"23","userName":null,"mobile":"13821109612","email":"876483155@qq.com","avatar":"http://123.206.201.243/yun/userinfo/avatar/0/default.png","nickName":"13821109612","birthday":null,"gender":0,"address":null,"uniqueId":null,"signature":null,"deptname":null,"deptcode":null,"unitTpye":null,"driver":null,"imPassword":"1","registerDate":null},"driver":{"accountId":"439435360729041973","userName":null,"mobile":"18222966432","email":null,"avatar":"http://123.206.201.243/yun/userinfo/avatar/439435360729041973/52407888526.","nickName":"jiwneb","birthday":null,"gender":1,"address":null,"uniqueId":null,"signature":null,"deptname":null,"deptcode":null,"unitTpye":null,"driver":null,"imPassword":"2","registerDate":null},"departure":{"longitude":116.809753,"latitude":39.7600594,"address":"北京市通州区漷县镇马堤路"},"arrival":{"longitude":118.280884,"latitude":39.477108,"address":"河北省唐山市丰南区小集镇X609"},"departure_time":"2016-09-29 18:12","arrival_time":"2016-09-29 18:16","payment":2.2,"payment_time":null}]
     */

    private String errorCode;
    /**
     * state : 3
     * trip_id : 461990179083652996
     * customer : {"accountId":"23","userName":null,"mobile":"13821109612","email":"876483155@qq.com","avatar":"http://123.206.201.243/yun/userinfo/avatar/0/default.png","nickName":"13821109612","birthday":null,"gender":0,"address":null,"uniqueId":null,"signature":null,"deptname":null,"deptcode":null,"unitTpye":null,"driver":null,"imPassword":"1","registerDate":null}
     * driver : {"accountId":"439435360729041973","userName":null,"mobile":"18222966432","email":null,"avatar":"http://123.206.201.243/yun/userinfo/avatar/439435360729041973/52407888526.","nickName":"jiwneb","birthday":null,"gender":1,"address":null,"uniqueId":null,"signature":null,"deptname":null,"deptcode":null,"unitTpye":null,"driver":null,"imPassword":"2","registerDate":null}
     * departure : {"longitude":116.809753,"latitude":39.7600594,"address":"北京市通州区漷县镇马堤路"}
     * arrival : {"longitude":118.280884,"latitude":39.477108,"address":"河北省唐山市丰南区小集镇X609"}
     * departure_time : 2016-09-29 18:12
     * arrival_time : 2016-09-29 18:16
     * payment : 2.2
     * payment_time : null
     */

    private List<DataBean> data;

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private int state;
        private String trip_id;
        /**
         * accountId : 23
         * userName : null
         * mobile : 13821109612
         * email : 876483155@qq.com
         * avatar : http://123.206.201.243/yun/userinfo/avatar/0/default.png
         * nickName : 13821109612
         * birthday : null
         * gender : 0
         * address : null
         * uniqueId : null
         * signature : null
         * deptname : null
         * deptcode : null
         * unitTpye : null
         * driver : null
         * imPassword : 1
         * registerDate : null
         */

        private CustomerBean customer;
        /**
         * accountId : 439435360729041973
         * userName : null
         * mobile : 18222966432
         * email : null
         * avatar : http://123.206.201.243/yun/userinfo/avatar/439435360729041973/52407888526.
         * nickName : jiwneb
         * birthday : null
         * gender : 1
         * address : null
         * uniqueId : null
         * signature : null
         * deptname : null
         * deptcode : null
         * unitTpye : null
         * driver : null
         * imPassword : 2
         * registerDate : null
         */

        private DriverBean driver;
        /**
         * longitude : 116.809753
         * latitude : 39.7600594
         * address : 北京市通州区漷县镇马堤路
         */

        private DepartureBean departure;
        /**
         * longitude : 118.280884
         * latitude : 39.477108
         * address : 河北省唐山市丰南区小集镇X609
         */

        private ArrivalBean arrival;
        private String departure_time;
        private String arrival_time;
        private double payment;
        private Object payment_time;

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getTrip_id() {
            return trip_id;
        }

        public void setTrip_id(String trip_id) {
            this.trip_id = trip_id;
        }

        public CustomerBean getCustomer() {
            return customer;
        }

        public void setCustomer(CustomerBean customer) {
            this.customer = customer;
        }

        public DriverBean getDriver() {
            return driver;
        }

        public void setDriver(DriverBean driver) {
            this.driver = driver;
        }

        public DepartureBean getDeparture() {
            return departure;
        }

        public void setDeparture(DepartureBean departure) {
            this.departure = departure;
        }

        public ArrivalBean getArrival() {
            return arrival;
        }

        public void setArrival(ArrivalBean arrival) {
            this.arrival = arrival;
        }

        public String getDeparture_time() {
            return departure_time;
        }

        public void setDeparture_time(String departure_time) {
            this.departure_time = departure_time;
        }

        public String getArrival_time() {
            return arrival_time;
        }

        public void setArrival_time(String arrival_time) {
            this.arrival_time = arrival_time;
        }

        public double getPayment() {
            return payment;
        }

        public void setPayment(double payment) {
            this.payment = payment;
        }

        public Object getPayment_time() {
            return payment_time;
        }

        public void setPayment_time(Object payment_time) {
            this.payment_time = payment_time;
        }

        public static class CustomerBean {
            private String accountId;
            private Object userName;
            private String mobile;
            private String email;
            private String avatar;
            private String nickName;
            private Object birthday;
            private int gender;
            private Object address;
            private Object uniqueId;
            private Object signature;
            private Object deptname;
            private Object deptcode;
            private Object unitTpye;
            private Object driver;
            private String imPassword;
            private Object registerDate;

            public String getAccountId() {
                return accountId;
            }

            public void setAccountId(String accountId) {
                this.accountId = accountId;
            }

            public Object getUserName() {
                return userName;
            }

            public void setUserName(Object userName) {
                this.userName = userName;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public Object getBirthday() {
                return birthday;
            }

            public void setBirthday(Object birthday) {
                this.birthday = birthday;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public Object getAddress() {
                return address;
            }

            public void setAddress(Object address) {
                this.address = address;
            }

            public Object getUniqueId() {
                return uniqueId;
            }

            public void setUniqueId(Object uniqueId) {
                this.uniqueId = uniqueId;
            }

            public Object getSignature() {
                return signature;
            }

            public void setSignature(Object signature) {
                this.signature = signature;
            }

            public Object getDeptname() {
                return deptname;
            }

            public void setDeptname(Object deptname) {
                this.deptname = deptname;
            }

            public Object getDeptcode() {
                return deptcode;
            }

            public void setDeptcode(Object deptcode) {
                this.deptcode = deptcode;
            }

            public Object getUnitTpye() {
                return unitTpye;
            }

            public void setUnitTpye(Object unitTpye) {
                this.unitTpye = unitTpye;
            }

            public Object getDriver() {
                return driver;
            }

            public void setDriver(Object driver) {
                this.driver = driver;
            }

            public String getImPassword() {
                return imPassword;
            }

            public void setImPassword(String imPassword) {
                this.imPassword = imPassword;
            }

            public Object getRegisterDate() {
                return registerDate;
            }

            public void setRegisterDate(Object registerDate) {
                this.registerDate = registerDate;
            }
        }

        public static class DriverBean {
            private String accountId;
            private Object userName;
            private String mobile;
            private Object email;
            private String avatar;
            private String nickName;
            private Object birthday;
            private int gender;
            private Object address;
            private Object uniqueId;
            private Object signature;
            private Object deptname;
            private Object deptcode;
            private Object unitTpye;
            private Object driver;
            private String imPassword;
            private Object registerDate;

            public String getAccountId() {
                return accountId;
            }

            public void setAccountId(String accountId) {
                this.accountId = accountId;
            }

            public Object getUserName() {
                return userName;
            }

            public void setUserName(Object userName) {
                this.userName = userName;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public Object getEmail() {
                return email;
            }

            public void setEmail(Object email) {
                this.email = email;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public Object getBirthday() {
                return birthday;
            }

            public void setBirthday(Object birthday) {
                this.birthday = birthday;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public Object getAddress() {
                return address;
            }

            public void setAddress(Object address) {
                this.address = address;
            }

            public Object getUniqueId() {
                return uniqueId;
            }

            public void setUniqueId(Object uniqueId) {
                this.uniqueId = uniqueId;
            }

            public Object getSignature() {
                return signature;
            }

            public void setSignature(Object signature) {
                this.signature = signature;
            }

            public Object getDeptname() {
                return deptname;
            }

            public void setDeptname(Object deptname) {
                this.deptname = deptname;
            }

            public Object getDeptcode() {
                return deptcode;
            }

            public void setDeptcode(Object deptcode) {
                this.deptcode = deptcode;
            }

            public Object getUnitTpye() {
                return unitTpye;
            }

            public void setUnitTpye(Object unitTpye) {
                this.unitTpye = unitTpye;
            }

            public Object getDriver() {
                return driver;
            }

            public void setDriver(Object driver) {
                this.driver = driver;
            }

            public String getImPassword() {
                return imPassword;
            }

            public void setImPassword(String imPassword) {
                this.imPassword = imPassword;
            }

            public Object getRegisterDate() {
                return registerDate;
            }

            public void setRegisterDate(Object registerDate) {
                this.registerDate = registerDate;
            }
        }

        public static class DepartureBean {
            private double longitude;
            private double latitude;
            private String address;

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }
        }

        public static class ArrivalBean {
            private double longitude;
            private double latitude;
            private String address;

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }
        }
    }
}
